package springboot.hello.helloSpringboot.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import springboot.hello.helloSpringboot.entity.Hoslist;
import springboot.hello.helloSpringboot.entity.Orlist;
import springboot.hello.helloSpringboot.mapper.OrlistMapper;

@Component
public class HospitalizationFormService {
    @Autowired
    public OrderMapper mapper;

    public void insertHospitalizationForm(String hospitalname, String hsex , int hage, String hphone, String haddress, String hhospital, String hcategory, String hdate) {
        mapper.insertHos(hospitalname, hsex,hage,hphone,haddress,hhospital,hcategory,hdate);
    }


}
